home *** CD-ROM | disk | FTP | other *** search
Makefile | 1996-10-13 | 1.7 KB | 61 lines |
- # Makefile for compare.module by Leo Davidson
-
- # Originally based on the makefile for example.module from the OpusSDK.
-
- MODULEOBJS = compare.module.o compare.module_strings.o ResourceNodes.o
- MODULEVER = 1
- MODULEREV = 1
-
- # Compiler options -- The OPTIMIZE line should be used for release versions.
- #CCOPTS = noversion
- CCOPTS = noversion OPTIMIZE
- #CCOPTS = noversion DEBUG=LINE
-
- # Linker options
- SLINKOPTS = noicons stripdebug smallcode smalldata
- #SLINKOPTS = noicons smallcode smalldata
-
- #########################################################################
-
- compare.module: $(MODULEOBJS) compare.module.h
- slink with <<
- libprefix _L_
- libfd modules.fd
- from lib:libent.o lib:libinit.o lib:modinit.o $(MODULEOBJS)
- to $@
- lib lib:sc.lib lib:amiga.lib lib:dopuslib.lib
- libversion $(MODULEVER)
- librevision $(MODULEREV)
- $(SLINKOPTS)
- <
-
- #########################################################################
-
- compare.module.o: compare.module.c compare.module_strings.o
- compare.module.o: ResourceNodes.o compare.module.h
-
- #########################################################################
-
- compare.module_strings.o: compare.module.strings
- setdate compare.module_strings.c
- sc $(CCOPTS) compare.module_strings.c
-
- #########################################################################
-
- ResourceNodes.o: ResourceNodes.c ResourceNodes.h compare.module.h
- ResourceNodes.o: compare.module.strings
-
- #########################################################################
-
- .c.o:
- sc $(CCOPTS) $*.c
- .asm.o:
- sc:c/asm -iASMINC: $*.asm
- .cd.strings:
- catcomp descriptor=$*.cd cfile=$*.strings
-
- #########################################################################
-
- clean:
- -@delete \#?.(o|strings)
-